<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: lhl <493355399@qq.com>
// +----------------------------------------------------------------------

// +----------------------------------------------------------------------
// | redis设置
// +----------------------------------------------------------------------
use think\facade\Env;

return [
    // 服务器地址
    'host'       => Env::get('redis.redis_host','127.0.0.1'),
    // redis端口
    'port'       => Env::get('redis.redis_port',6379),
    // redis密码
    'password'   => Env::get('redis.redis_password',''),
    //默认缓存库编号
    'cache_db'   => 0
];